#define _CRT_SECURE_NO_WARNINGS 1
#include"SQList.h"

void SLTest()
{
	SL sl;
	SeqListInit(&sl);

	/*SeqListPushBack(&sl, 1);
	SeqListPushBack(&sl, 2);
	SeqListPushBack(&sl, 3);
	SeqListPushBack(&sl, 4);

	SeqListPrint(&sl);

	SeqListPushFront(&sl, 7);
	SeqListPushFront(&sl, 6);
	SeqListPushFront(&sl, 5);
	SeqListPushFront(&sl, 4);

	SeqListPrint(&sl);
	*/
	SeqListPopBack(&sl);
	SeqListPopBack(&sl);
	SeqListPopBack(&sl);

	SeqListPrint(&sl);//4 5 6 7 1



	SeqListDestroy(&sl);



}

int main()
{
	SLTest();
	return 0;
}